package xps.and.uudaijia.userclient.view.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.jude.utils.JUtils;

import xps.and.uudaijia.userclient.R;
import xps.and.uudaijia.userclient.view.custom.SliderControlView;

public class TestAc extends AppCompatActivity {
    SliderControlView sliderControlView;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.testlayout);
        sliderControlView = (SliderControlView) findViewById(R.id.sliderControlView);
        sliderControlView.setSwitchListener(() -> JUtils.Toast("完成"));
    }
}
